<template>
  <div class="container">
    <div class="box1"></div>
    <div class="box2"></div>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
}

/* 
  将设计稿px单位转化成rem单位

    rem = 元素设计稿大小 / 3.75

  187.5px 转化为多少 rem

  1 rem = 375 / 100 px
  x rem = 187.5 px

  x = 187.5 / 3.75
*/
.box1 {
  width: 187.5px;
  /* width: 50rem; */
  height: 100px;
  background-color: pink;
}

.box2 {
  width: 187.5px;
  /* width: 50rem; */
  height: 100px;
  background-color: deeppink;
}
</style>
